PStyleBegin(const char * sStyleName);
Name of the style to define (to a maximum of 31 characters)No nested definitions. The PStyleEnd command completes the definition. Style definitions cannot be nested; you must complete a style definition with the PStyleEnd command before beginning the next style definition.
Use PStyleEnd command to end definition. If you do not complete a style definition with the PStyleEnd command (e.g., by omitting the PStyleEnd command or by not completing the definition due to an error), PageMaker remains in the style-definition state until you either send the PStyleEnd command or:
Commands that comprise a style. The commands that comprise a style definition are:
PAlignment PPosition PBasedOn PRuleAbove PCase PRuleBelow PColor PRuleOptions PDictionary PSetWidth PFont PSize PHyphenation PSpaceOptions PIndents PTabs PLeading PTrack PLetterSpace PTypeOptions PNextStyle PTypeStyle PParaOptions PWordSpace PParaSpaceStyle based on current style. If you do not base the style on a specific style (using the PBasedOn command), PageMaker bases the style on the current style. The current style is the style of the text containing the insertion point, or, if either the pointer tool is active or no publications are open, the default style.
Example. The following example defines Heading 1 as point-size 24 in the font Times.
PStyleBegin("Heading 1");
PSize(24);
PFont("Times");
PStyleEnd();
The PGetStyle and PGetStyleNames queries
Adobe PageMaker 6.5 Help > Commands > Type > Define Styles
Comments or suggestions? Contact Adobe Developer Support